<template>
	<view class="">
		<view class="body">
			<view class=" header">
				<view class="imglist">
					<view class="imgleft">
						<u--image :src="doctorlist.HeadImg" width="90" height="100"></u--image>
					</view>
					<view class="imgcount">
						<span class="name">{{doctorlist.DoctorName}}</span>
						<span class="tab">{{doctorlist.CompanyName}} {{doctorlist.WorkType}}</span>
		
					</view>
					
					
				</view>
				
				<view class="">
					<u-toast ref="uToast"></u-toast>
				</view>
				<view class="buttons">
					{{doctorlist.Detail}}
				</view>
				<!-- 
				<view class="bottoms">
					<span>{{doctor.number}}次预约 / {{doctor.receive}}次接诊 / {{doctor.doctorage}}年医龄</span>
				</view> -->
			</view>
		
			<view class="conter">
				<view class="toptext">
					<span class="tiao">|</span>
					<span class="title">擅长领域</span>
				</view>
				<view class="buttontext">
					{{doctorlist.WorkDuty}} 
				</view>
			</view>
		
			<view class="Scheduling">
				<view style="padding: 3px 10px;">
					<view class="toptext">
						<span class="tiao">|</span>
						<span class="title">详情内容</span>
					</view>
					<view class="span">
						<view class="buttons">
							{{doctorlist.Detail}}
						</view>
					</view>
				</view>
			</view>
				
			
		</view>
	</view>
</template>

<script>
	export default {
			data() {
				return {
					doctorlist:[] 
				}
			},
			onLoad:function(DoctorId ){
				//this.doctorlist=JSON.parse(doctors.doctors)
				//console.log(this.DoctorId.DoctorId)
				this.getcollectlist(DoctorId.DoctorId)
			},
			computed:{
				
			},
			methods: {
				getcollectlist(DoctorId){
					this.$request("Doctor","Detail",{DoctorId:DoctorId}).then(res=>{
						this.doctorlist=res.data
					})
				}
			}
		}
</script>

<style>
	@import './collectlist.css'
</style>